#
# Be sure to run `pod lib lint XSExtension_hanyz.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XSExtension_hanyz'
  s.version          = '0.1.8'
  s.summary          = 'A short description of XSExtension_hanyz.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/VirtualLion'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'VirtualLion' => 'hanyzjob@163.com' }
  s.source           = { :git => 'https://gitee.com/hanyzjob/XSExtension_hanyz.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.swift_version = '5.0'
  s.ios.deployment_target = '10.0'

  # s.source_files = 'XSExtension_hanyz/Classes/**/*'
  
#  s.default_subspec = 'Core'
#  s.subspec 'Core' do |core|
#    core.source_files = 'XSExtension_hanyz/Classes/*'
#    core.subspec '静态库' do |a|
#      a.vendored_frameworks = 'XSExtension.framework'
#      a.frameworks = 'UIKit', 'Foundation', 'AVFoundation'
#    end
#  end
s.subspec '静态库' do |extension|
    extension.vendored_frameworks = 'XSExtension.framework'
    extension.frameworks = 'UIKit', 'Foundation', 'AVFoundation'
end
  
  # s.resource_bundles = {
  #   'XSExtension_hanyz' => ['XSExtension_hanyz/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
#  s.frameworks = 'UIKit', 'Foundation', 'AVFoundation'
  # s.dependency 'AFNetworking', '~> 2.3'
end
